package com.org.khtn.gui;

import javax.swing.JMenuItem;

import com.org.khtn.gui.Server.ItemListener;

public class Content_TableDesignPopupMenu extends MyPopupMenu {
	public static final int PRIMARY_KEY = 0;

	public Content_TableDesignPopupMenu() {
		JMenuItem menuItem;

        menuItem = makeNavigationMenuItem("Set Primary Key", "key", "content_setprimarykey");
        menuItem.addActionListener(new ItemListener());
        add(menuItem);
        
        menuItem = makeNavigationMenuItem("Remove Primary Key", "removekey", "content_removeprimarykey");
        menuItem.addActionListener(new ItemListener());
        add(menuItem);  
        
        menuItem = makeNavigationMenuItem("Insert Column After", "insertafter", "content_insertcolumnafter");
        menuItem.addActionListener(new ItemListener());
        add(menuItem);  
        
        menuItem = makeNavigationMenuItem("Insert Column Before", "insertbefore", "content_insertcolumnbefore");
        menuItem.addActionListener(new ItemListener());
        add(menuItem);  
        
        menuItem = makeNavigationMenuItem("Delete Column", "close", "content_deletecolumn");
        menuItem.addActionListener(new ItemListener());
        add(menuItem);  
	}
}
